<#include "../common/templet.html"/> <@layout>
<div class="container">
	<div class="page-header">
		<h2>密码修改</h2>
	</div>
	
	<div class="row row-offcanvas row-offcanvas-right ">
		<form class="form-horizontal" action="${ctx!}/admin/user/updatePasswordSave" method="post">

			<div class="form-group">
				<label for="userName" class="col-sm-2 control-label">账号</label>
				<div class="col-sm-10">
					${user.userName!}
				</div>
			</div>
			<div class="form-group">
				<label for="bankCard" class="col-sm-2 control-label">旧密码</label>
				<div class="col-sm-10">
					<input type="password" class="form-control" 
						name="oriPassword" placeholder="旧密码"
						value="" required>
				</div>
			</div>
			<div class="form-group">
				<label for="bankCard" class="col-sm-2 control-label">新密码</label>
				<div class="col-sm-10">
					<input type="password" class="form-control" 
						name="password" placeholder="新密码"
						value="" required>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary">保存</button>
					<a type="button" class="btn btn-default" href="javascript :;"
						onClick="javascript :history.back(-1);">返回</a>
				</div>
			</div>
			<input type="hidden" name="id" value="${user.id!}">
		</form>
	</div>
</div>
</@layout>
